<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>滴滴驾校理论考试</title>
<link type="text/css" rel="stylesheet" href="../css/style.css" />
<script type="text/javascript" src="../js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="../js/menu.js"></script>
<script>
	function statusPanduan(status){
		if(status=="已激活"){
			$choiceForm = $("#choiceForm");
			$choiceForm.submit();
		}else{
			alert("请先在激活页面完成激活操作");
		}
	}
	
	function statusPanduan2(status){
		if(status=="已激活"){
			$choiceForm = $("#choiceForm2");
			$choiceForm.submit();
		}else{
			alert("请先在激活页面完成激活操作");
		}
	}
	
	
	function getTime(){
		$.ajax({
			type:"OPTIONS",
			url:"/",
			complete:function(x){
				date = x.getResponseHeader("Date");
				nDate = date+(3600000*8);
				time = new Date(nDate);
				}
		})
		$("#td").text(time);
	}
	
	function times(){
		setInterval(getTime, 1000)
	}
	
	window.onload = times;
</script>
</head>

<body>
<div class="top"></div>
<div id="header">
	<div class="logo">滴滴驾校理论考试</div>
	<div class="navigation">
		<font>请合理安排答题时间，考试时间结束将自动提交试卷</font>
	</div>
	<div id="td" style="color: #fff"></div>
</div>
<div id="content">
	<div class="left_menu" >
		<div style="margin-left: 50px; margin-top: 20px;">
		<table>
			<tr>
				<td><img src="${test.picPath }" style="width: 100px;"></td>
			</tr>
			<tr>
				<td><font color="#ffffff" style="font-size: 20px">姓名：${test.name }</font></td>
			</tr>
			<tr>
				<td><font color="#ffffff" style="font-size: 20px">身份证号：${test.ipid }</font></td>
			</tr>
			<tr>
				<td><font color="#ffffff" style="font-size: 20px">驾考类型：${test.abcType }</font></td>
			</tr>
			<tr>
				<td><font color="#ffffff" style="font-size: 20px">手机：${test.phoneNumber }</font></td>
			</tr>
		</table>	
		</div>	
	</div>
	<div class="m-right">
		<div class="main">
			<iframe src="../view/uview/questions.jsp" name="iframePart" width="100%" height="100%">
			</iframe>
		</div>
	</div>
</div>
<div class="bottom"></div>
<div id="footer"><p>Copyright© 2016</p></div>
<script>navList(12);</script>
</body>
</html>
